package com.baizhi.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Article {
    private Integer articleId;
    private String articleName;
    private String articleImage;
    private String articleContent;
    private Integer guruId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date articleDate;

    private Guru guru;
}
